Optimal. Leaf size=79 \[ -\frac {\sqrt {1-a^2 x^2} \cosh ^{-1}(a x)^2}{a^2}-\frac {2 \sqrt {1-a x} \sqrt {a x+1}}{a^2}-\frac {2 x \sqrt {a x-1} \cosh ^{-1}(a x)}{a \sqrt {1-a x}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.27, antiderivative size = 109, normalized size of antiderivative = 1.38, number of steps used = 4, number of rules used = 4, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {5798, 5718, 5654, 74} \[ -\frac {2 (1-a x) (a x+1)}{a^2 \sqrt {1-a^2 x^2}}-\frac {(1-a x) (a x+1) \cosh ^{-1}(a x)^2}{a^2 \sqrt {1-a^2 x^2}}-\frac {2 x \sqrt {a x-1} \sqrt {a x+1} \cosh ^{-1}(a x)}{a \sqrt {1-a^2 x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 74
Rule 5654
Rule 5718
Rule 5798
Rubi steps
\begin {align*} \int \frac {x \cosh ^{-1}(a x)^2}{\sqrt {1-a^2 x^2}} \, dx &=\frac {\left (\sqrt {-1+a x} \sqrt {1+a x}\right ) \int \frac {x \cosh ^{-1}(a x)^2}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx}{\sqrt {1-a^2 x^2}}\\ &=-\frac {(1-a x) (1+a x) \cosh ^{-1}(a x)^2}{a^2 \sqrt {1-a^2 x^2}}-\frac {\left (2 \sqrt {-1+a x} \sqrt {1+a x}\right ) \int \cosh ^{-1}(a x) \, dx}{a \sqrt {1-a^2 x^2}}\\ &=-\frac {2 x \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)}{a \sqrt {1-a^2 x^2}}-\frac {(1-a x) (1+a x) \cosh ^{-1}(a x)^2}{a^2 \sqrt {1-a^2 x^2}}+\frac {\left (2 \sqrt {-1+a x} \sqrt {1+a x}\right ) \int \frac {x}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx}{\sqrt {1-a^2 x^2}}\\ &=-\frac {2 (1-a x) (1+a x)}{a^2 \sqrt {1-a^2 x^2}}-\frac {2 x \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)}{a \sqrt {1-a^2 x^2}}-\frac {(1-a x) (1+a x) \cosh ^{-1}(a x)^2}{a^2 \sqrt {1-a^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.10, size = 54, normalized size = 0.68 \[ \frac {\sqrt {1-a^2 x^2} \left (-\cosh ^{-1}(a x)^2+\frac {2 a x \cosh ^{-1}(a x)}{\sqrt {a x-1} \sqrt {a x+1}}-2\right )}{a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.52, size = 114, normalized size = 1.44 \[ \frac {2 \, \sqrt {a^{2} x^{2} - 1} \sqrt {-a^{2} x^{2} + 1} a x \log \left (a x + \sqrt {a^{2} x^{2} - 1}\right ) + {\left (-a^{2} x^{2} + 1\right )}^{\frac {3}{2}} \log \left (a x + \sqrt {a^{2} x^{2} - 1}\right )^{2} - 2 \, {\left (a^{2} x^{2} - 1\right )} \sqrt {-a^{2} x^{2} + 1}}{a^{4} x^{2} - a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [C] time = 0.56, size = 76, normalized size = 0.96 \[ -\frac {\sqrt {-a^{2} x^{2} + 1} \log \left (a x + \sqrt {a^{2} x^{2} - 1}\right )^{2}}{a^{2}} - \frac {2 i \, {\left (x \log \left (a x + \sqrt {a^{2} x^{2} - 1}\right ) - \frac {\sqrt {a^{2} x^{2} - 1}}{a}\right )}}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.20, size = 139, normalized size = 1.76 \[ -\frac {\sqrt {-a^{2} x^{2}+1}\, \left (\sqrt {a x +1}\, \sqrt {a x -1}\, a x +a^{2} x^{2}-1\right ) \left (\mathrm {arccosh}\left (a x \right )^{2}-2 \,\mathrm {arccosh}\left (a x \right )+2\right )}{2 a^{2} \left (a^{2} x^{2}-1\right )}-\frac {\sqrt {-a^{2} x^{2}+1}\, \left (a^{2} x^{2}-\sqrt {a x +1}\, \sqrt {a x -1}\, a x -1\right ) \left (\mathrm {arccosh}\left (a x \right )^{2}+2 \,\mathrm {arccosh}\left (a x \right )+2\right )}{2 a^{2} \left (a^{2} x^{2}-1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 0.38, size = 50, normalized size = 0.63 \[ \frac {2 i \, x \operatorname {arcosh}\left (a x\right )}{a} - \frac {\sqrt {-a^{2} x^{2} + 1} \operatorname {arcosh}\left (a x\right )^{2}}{a^{2}} - \frac {2 i \, \sqrt {a^{2} x^{2} - 1}}{a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {x\,{\mathrm {acosh}\left (a\,x\right )}^2}{\sqrt {1-a^2\,x^2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x \operatorname {acosh}^{2}{\left (a x \right )}}{\sqrt {- \left (a x - 1\right ) \left (a x + 1\right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________